package demo4;

public class Brid extends Animal implements IFlyable{
    public Brid(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(this.name + "在吃鸟粮");
    }

    @Override
    public void fly() {
        System.out.println(this.name + "fei");
    }
}
